import 'core-js/stable'
import 'regenerator-runtime/runtime'
import 'vue-virtual-scroller/dist/vue-virtual-scroller.css'
import './assets/styles/main.css'
import './assets/styles/tailwind.css'
//@ts-ignore
import VueVirtualScroller from 'vue-virtual-scroller'
import VueLazyLoad from 'vue3-lazyload'
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { pinia } from '@/stores'
import i18n from '@/locales/i18n'
import MessageComponent from '@/components/messageComponent/messageComponent.vue'
const app = createApp(App)

app.use(VueVirtualScroller)
app.use(VueLazyLoad, {
  // options...
})
app.config.globalProperties.$message = MessageComponent
app.use(pinia)
app.use(i18n)
app.use(router)
app.mount('#app')
